import request2 from '@/utils/request2'

export const geteditindex = ()=>request2({
    url:`/api/indexdatalist`,
    method:"get",
})
///getindexIcons
export const getindexIcons = ()=>request2({
    url:`/api/getindexIcons`,
    method:"get",
})

//亲子课介绍:
export const save_header = (keyword)=>request2({
    url:`/api/save/save_header`,
    method:"post",
    data:{keyword}
})

export const save_pickbox = (keyword)=>request2({
    url:`/api/save/save_pickbox`,
    method:"post",
    data:{keyword}
})
//save_introduce_header
export const save_introduce_header = (keyword)=>request2({
    url:`/api/save/save_introduce_header`,
    method:"post",
    data:{keyword}
})
//save_introduce
export const save_introduce = (keyword)=>request2({
    url:`/api/save/save_introduce`,
    method:"post",
    data:{keyword}
})
//保存5
export const save_five = (keyword)=>request2({
    url:`/api/save/save_five`,
    method:"post",
    data:{keyword}
})
//save_indexicons
export const save_indexicons = (keyword)=>request2({
    url:`/api/save/save_indexicons`,
    method:"post",
    data:{keyword}
})
//保存抓住孩子的关键成长期
export const save_son_pd_top_lg = (keyword)=>request2({
    url:`/api/save/save_son_pd_top_lg`,
    method:"post",
    data:{keyword}
})
export const rightsave = (keyword)=>request2({
    url:`/api/save/rightsave`,
    method:"post",
    data:{keyword}
})
//保存轮播图:
export const save_swiper = (keyword)=>request2({
    url:`/api/save/save_swiper`,
    method:"post",
    data:{keyword}
})
//获取轮播:getindex_swiper
export const getindex_swiper = ()=>request2({
    url:`/api/save/getindex_swiper`,
    method:"get"
})


export const getall_editindex = ()=>request2({
    url:`/api/save/getall_editindex`,
    method:"get",
})
